﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Utility;
using System.Web;

namespace YouHP.Pages.User
{
    public class UserBasePage : BasePage
    {
        protected override void ShowPage()
        {
            base.ShowPage();

            if (UserData.Id <= 0)
            {
                this.AddErrLine("您还没有登录!  请先登录");
                this.SetUrl("/User/Login.aspx");
            }
        }
    }
}
